package com.beidouapp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.beidouapp.domain.example.DrugReferenceExample;
import com.beidouapp.domain.pojo.DrugReference;

public interface DrugReferenceMapper {
    int countByExample(DrugReferenceExample example);

    int deleteByExample(DrugReferenceExample example);

    int deleteByPrimaryKey(String id);

    int insert(DrugReference record);

    int insertSelective(DrugReference record);

    List<DrugReference> selectByExample(DrugReferenceExample example);

    DrugReference selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") DrugReference record, @Param("example") DrugReferenceExample example);

    int updateByExample(@Param("record") DrugReference record, @Param("example") DrugReferenceExample example);

    int updateByPrimaryKeySelective(DrugReference record);

    int updateByPrimaryKey(DrugReference record);
    
    List<DrugReference>   findDrugsList(Map<String, Object> map);
    
    List<DrugReference> findDrugsByMap(RowBounds rowBounds,
			Map<String, Object> params);
    
    public Integer findDrugsCountByMap(Map<String, Object> params);
}